#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	int n, m;
	cin >> n >> m;

	getchar();

	string s;
	for (int i = 1; i <= n; i++) {
		getline(cin, s);

		if (s.find("qiandao") != string::npos || s.find("easy") != string::npos) {
			continue;
		}

		if (!m) {
			cout << s;
			return 0;
		}

		m--;
	}
	cout << "Wo AK le";
	return 0;
}
